<template>
  <div class="singleCard">
    <div class="compayLogo">
      <img :src="cont.companyLogoAdress" alt="">
      </div>
    <div class="companyName">
      {{cont.companyName}}
    </div>
    <div class="Types">
      <span class="companyType">{{cont.companyType}} </span>
      <span class="businessType">{{cont.businessType}} </span>
    </div>
    <p class="location">
      {{cont.location}}
    </p>
  </div>
</template>
<script>
export default {
  name: "itemcard",
  props: ["cont"]
}
</script>
<style lang="less">
  .singleCard{
    width: 284px;
    height: 246px;
    background-color: #fff;
    margin-bottom: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    div{
      width: 240px;
      height: 60px;
      background-color: #fff;
      flex-shrink: 0;
    }
    .compayLogo{
      display: flex;
      justify-content: center;
    }
    .companyName{
      text-align: center;
      line-height: 60px;
    }
    .Types{
      text-align: center;
      line-height: 60px;
      font-size: 12px;
      color: #909090;
        span{
          padding: 2px;
        }
        .companyType{
          border-right: 2px solid #959393;
        }
    }
    p{
      width: 180px;
      height: 34px;
      border: 1px solid #ccc;
      border-radius: 4px;
      text-align: center;
      line-height: 34px;
      font-size: 12px;
    }
      img{
        width: 60px;
        height: 60px;
        border: 1px solid #ccc;
        border-radius: 6px;
      }
  }
</style>